$OpenBSD: patch-src_openssl_app_c,v 1.2 2016/09/03 14:23:37 sthen Exp $
--- src/openssl/app.c.orig	Wed Apr 20 17:26:22 2016
+++ src/openssl/app.c	Sat Sep  3 14:33:48 2016
@@ -1487,11 +1487,6 @@ xmlSecOpenSSLAppLoadRANDFile(const char *file) {
 
     if(file == NULL) {
         file = RAND_file_name(buffer, sizeof(buffer));
-    }else if(RAND_egd(file) > 0) {
-        /* we try if the given filename is an EGD socket.
-         * if it is, we don't write anything back to the file. */
-        egdsocket = 1;
-        return 1;
     }
 
     if((file == NULL) || !RAND_load_file(file, -1)) {
